package br.uniriotec.pm.dao.xstream.exception;

public class XmlAccessException extends RuntimeException {
	private static final long serialVersionUID = 393696854309767255L;
	
	private static String LOCALIZED_MESSAGE = "Erro de acesso a arquivo XML: ";

	public XmlAccessException() {
		super();
	}
	
	public XmlAccessException(String message, Throwable cause) {
		super(message, cause);
	}
	
	public XmlAccessException(String message) {
		super(message);
	}
	
	public XmlAccessException(Throwable cause) {
		super(cause);
	}
	
	@Override
	public String getLocalizedMessage() {
		return LOCALIZED_MESSAGE + super.getMessage();
	}
}
